#define  _CRT_SECURE_NO_WARNINGS 1
#include"heap.h"

void test()
{
	int a[] = { 1,2,3,4,5,8,2,5,8,9 };
	Heap h;
	HPInit(&h);
	size_t len = sizeof(a) / sizeof(a[0]);
	for (int i = 0; i < len; i++)
	{
		HPPush(&h, a[i]);
	}	
	HPPrint(&h);

}


int main()
{
	test();
	return 0;
}